package com.jsu.springboot_crop.service;

import com.jsu.springboot_crop.entity.Finance;
import com.jsu.springboot_crop.entity.FinanceUserDetails;
import com.jsu.springboot_crop.entity.Intention;
import com.jsu.springboot_crop.entity.Recommend;

import java.util.List;

/**
 * @Author wang
 * @Date 2023/8/25 19:42
 */
public interface FinanceService {
    public void addFinance(Finance finance);
    public void addFinanceMulti(Finance finance);
    public List<Finance> selectByFinance(Finance finance);
    public Finance selectByFinanceId(Integer id);
    public void updateByFinance(Finance finance);
    public void deleteByFinanceId(Integer id);
    public List<Intention> selectIntentionByName(String name);
    public void updateIntentionByName(Intention intention);
    public void insertIntentionByName(Intention intention);
    public void deleteIntentionByName(String name);
    public List<Recommend> selectRecommend(String name);
    public boolean selectIfApply(String name);
}
